<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="merchantapi_accounts_v1beta.html">Merchant API</a> . <a href="merchantapi_accounts_v1beta.accounts.html">accounts</a> . <a href="merchantapi_accounts_v1beta.accounts.automaticImprovements.html">automaticImprovements</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#getAutomaticImprovements">getAutomaticImprovements(name, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves the automatic improvements of an account.</p>
<p class="toc_element">
  <code><a href="#updateAutomaticImprovements">updateAutomaticImprovements(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates the automatic improvements of an account.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="getAutomaticImprovements">getAutomaticImprovements(name, x__xgafv=None)</code>
  <pre>Retrieves the automatic improvements of an account.

Args:
  name: string, Required. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements` (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Collection of information related to the [automatic improvements](https://developers.google.com/shopping-content/guides/automatic-improvements) of an account.
  &quot;imageImprovements&quot;: { # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided in the update mask.
    &quot;accountImageImprovementsSettings&quot;: { # Settings for the Automatic Image Improvements. # Optional. Determines how the images should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
      &quot;allowAutomaticImageImprovements&quot;: True or False, # Enables automatic image improvements.
    },
    &quot;effectiveAllowAutomaticImageImprovements&quot;: True or False, # Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
  },
  &quot;itemUpdates&quot;: { # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. This field is only updated (cleared) if provided in the update mask.
    &quot;accountItemUpdatesSettings&quot;: { # Settings for the Automatic Item Updates. # Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
      &quot;allowAvailabilityUpdates&quot;: True or False, # If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer&#x27;s page. If additionally `allow_strict_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.
      &quot;allowConditionUpdates&quot;: True or False, # If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.
      &quot;allowPriceUpdates&quot;: True or False, # If price updates are enabled, Google always updates the active price with the crawled information.
      &quot;allowStrictAvailabilityUpdates&quot;: True or False, # If `allow_availability_updates` is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are &#x27;out of stock&#x27; on your website but &#x27;in stock&#x27; on Shopping. Set this to true to also update items that are &#x27;in stock&#x27; on your website, but &#x27;out of stock&#x27; on Google Shopping. In order for this field to have an effect, you must also set `allow_availability_updates`.
    },
    &quot;effectiveAllowAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
    &quot;effectiveAllowConditionUpdates&quot;: True or False, # Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
    &quot;effectiveAllowPriceUpdates&quot;: True or False, # Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
    &quot;effectiveAllowStrictAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
  },
  &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`.
  &quot;shippingImprovements&quot;: { # Not available for [advanced accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data # Not available for [advanced accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data This field is only updated (cleared) if provided in the update mask.
    &quot;allowShippingImprovements&quot;: True or False, # Enables automatic shipping improvements.
  },
}</pre>
</div>

<div class="method">
    <code class="details" id="updateAutomaticImprovements">updateAutomaticImprovements(name, body=None, updateMask=None, x__xgafv=None)</code>
  <pre>Updates the automatic improvements of an account.

Args:
  name: string, Identifier. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`. (required)
  body: object, The request body.
    The object takes the form of:

{ # Collection of information related to the [automatic improvements](https://developers.google.com/shopping-content/guides/automatic-improvements) of an account.
  &quot;imageImprovements&quot;: { # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided in the update mask.
    &quot;accountImageImprovementsSettings&quot;: { # Settings for the Automatic Image Improvements. # Optional. Determines how the images should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
      &quot;allowAutomaticImageImprovements&quot;: True or False, # Enables automatic image improvements.
    },
    &quot;effectiveAllowAutomaticImageImprovements&quot;: True or False, # Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
  },
  &quot;itemUpdates&quot;: { # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. This field is only updated (cleared) if provided in the update mask.
    &quot;accountItemUpdatesSettings&quot;: { # Settings for the Automatic Item Updates. # Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
      &quot;allowAvailabilityUpdates&quot;: True or False, # If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer&#x27;s page. If additionally `allow_strict_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.
      &quot;allowConditionUpdates&quot;: True or False, # If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.
      &quot;allowPriceUpdates&quot;: True or False, # If price updates are enabled, Google always updates the active price with the crawled information.
      &quot;allowStrictAvailabilityUpdates&quot;: True or False, # If `allow_availability_updates` is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are &#x27;out of stock&#x27; on your website but &#x27;in stock&#x27; on Shopping. Set this to true to also update items that are &#x27;in stock&#x27; on your website, but &#x27;out of stock&#x27; on Google Shopping. In order for this field to have an effect, you must also set `allow_availability_updates`.
    },
    &quot;effectiveAllowAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
    &quot;effectiveAllowConditionUpdates&quot;: True or False, # Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
    &quot;effectiveAllowPriceUpdates&quot;: True or False, # Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
    &quot;effectiveAllowStrictAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
  },
  &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`.
  &quot;shippingImprovements&quot;: { # Not available for [advanced accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data # Not available for [advanced accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data This field is only updated (cleared) if provided in the update mask.
    &quot;allowShippingImprovements&quot;: True or False, # Enables automatic shipping improvements.
  },
}

  updateMask: string, Required. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `item_updates` - `item_updates.account_level_settings` - `image_improvements` - `image_improvements.account_level_settings` - `shipping_improvements` - `shipping_improvements.allow_shipping_improvements`
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Collection of information related to the [automatic improvements](https://developers.google.com/shopping-content/guides/automatic-improvements) of an account.
  &quot;imageImprovements&quot;: { # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided in the update mask.
    &quot;accountImageImprovementsSettings&quot;: { # Settings for the Automatic Image Improvements. # Optional. Determines how the images should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
      &quot;allowAutomaticImageImprovements&quot;: True or False, # Enables automatic image improvements.
    },
    &quot;effectiveAllowAutomaticImageImprovements&quot;: True or False, # Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
  },
  &quot;itemUpdates&quot;: { # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. This field is only updated (cleared) if provided in the update mask.
    &quot;accountItemUpdatesSettings&quot;: { # Settings for the Automatic Item Updates. # Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
      &quot;allowAvailabilityUpdates&quot;: True or False, # If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer&#x27;s page. If additionally `allow_strict_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.
      &quot;allowConditionUpdates&quot;: True or False, # If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.
      &quot;allowPriceUpdates&quot;: True or False, # If price updates are enabled, Google always updates the active price with the crawled information.
      &quot;allowStrictAvailabilityUpdates&quot;: True or False, # If `allow_availability_updates` is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are &#x27;out of stock&#x27; on your website but &#x27;in stock&#x27; on Shopping. Set this to true to also update items that are &#x27;in stock&#x27; on your website, but &#x27;out of stock&#x27; on Google Shopping. In order for this field to have an effect, you must also set `allow_availability_updates`.
    },
    &quot;effectiveAllowAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
    &quot;effectiveAllowConditionUpdates&quot;: True or False, # Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
    &quot;effectiveAllowPriceUpdates&quot;: True or False, # Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
    &quot;effectiveAllowStrictAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
  },
  &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`.
  &quot;shippingImprovements&quot;: { # Not available for [advanced accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data # Not available for [advanced accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data This field is only updated (cleared) if provided in the update mask.
    &quot;allowShippingImprovements&quot;: True or False, # Enables automatic shipping improvements.
  },
}</pre>
</div>

</body></html>